package com.black.play.entity;

import java.awt.*;

/**
 * 格子类型枚举类
 *
 * @author ylx
 */
public enum CellStatus
{
    OPEN(new Color(217,217,210)),
    HALF_OPEN(new Color(210, 210, 210)),
    CLOSE(Color.LIGHT_GRAY),
    HOLD_ON(Color.WHITE),
    ;
    Color background;

    CellStatus(Color background)
    {
        this.background = background;
    }

    public Color getBackground()
    {
        return background;
    }

    public void setBackground(Color background)
    {
        this.background = background;
    }
}
